let host = require('./src/api/server/host');
module.exports = {
  // 输出文件目录
  outputDir: 'dist',
  // 代理
  devServer: {
    proxy: {
      '/api': {
        target: host.host_list[host.current_host].host,
        changeOrigin: true,
        pathRewrite: {
          '^/api': ''
        }
      }
    }
  }
};